package com.situ.imall.util;

import java.util.List;

/**
 * 封装layui所需要的数据
 * 
 * @author 周轩霆
 *
 */
public class LayData {

	int code = 0;
	String msg = "";
	int count = 0;
	List data;

	public LayData(int count, List data) {
		super();
		this.count = count;
		this.data = data;
	}

	public int getCode() {
		return code;
	}

	public void setCode(int code) {
		this.code = code;
	}

	public String getMsg() {
		return msg;
	}

	public void setMsg(String msg) {
		this.msg = msg;
	}

	public int getCount() {
		return count;
	}

	public void setCount(int count) {
		this.count = count;
	}

	public List getData() {
		return data;
	}

	public void setData(List data) {
		this.data = data;
	}

	@Override
	public String toString() {
		return "LayData [code=" + code + ", msg=" + msg + ", count=" + count + ", data=" + data + "]";
	}
	

}
